package com.lgq.cfw.dao;

import com.lgq.cfw.bean.TableRolePermission;
import com.lgq.cfw.bean.example.TableRolePermissionExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface TableRolePermissionMapper {
    long countByExample(TableRolePermissionExample example);

    int deleteByExample(TableRolePermissionExample example);

    int deleteByPrimaryKey(Integer id);

    int insert(TableRolePermission record);

    int insertSelective(TableRolePermission record);

    List<TableRolePermission> selectByExample(TableRolePermissionExample example);

    TableRolePermission selectByPrimaryKey(Integer id);

    int updateByExampleSelective(@Param("record") TableRolePermission record, @Param("example") TableRolePermissionExample example);

    int updateByExample(@Param("record") TableRolePermission record, @Param("example") TableRolePermissionExample example);

    int updateByPrimaryKeySelective(TableRolePermission record);

    int updateByPrimaryKey(TableRolePermission record);
}